package com.ruoyi.faceplus.config;

import com.ruoyi.faceplus.face.FaceServer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import javax.annotation.Resource;

@Configuration
public class FaceEngineConfig {

    @Resource
    private FaceServer faceServer;

    @Bean
    public void start() {
        faceServer.init();
    }
}
